import request from './request';
//获取sku
export function getSku(data) {
    return request('/pay/torder/getPriceInfo', 'post', data);
}
//获取洗衣机下单数据
export function getPayData(data) {
    return request('/pay/torder/getPayData', 'get', data);
}

//获取洗衣机下单数据
export function torder(data) {
    return request('/pay/torder', 'post', data);
}
//设备订单详情

export function getTorder(data) {
    return request('/pay/torder', 'get', data);
}

//获取支付状态
export function checkPayStatus(data) {
    return request('/pay/torder/checkPayStatus', 'get', data);
}
